package nccloud.web.dm.apsettle.action;

import nc.itf.dm.apsettle.IApsettleMaintainPageApp;
import nc.vo.dm.apsettle.entity.ApSettleVO;
import nc.vo.pub.BusinessException;
import nc.vo.pubapp.pattern.model.entity.bill.IBill;
import nccloud.framework.service.ServiceLocator;
import nccloud.framework.web.ui.pattern.extbillcard.ExtBillCard;
import nccloud.web.dm.apsettle.scale.ApSettleScaleUtils;
import nccloud.web.scmpub.base.action.ExtBaseQueryCardAction;
import nccloud.web.scmpub.ccarriertransfer.utils.CarrierTransUtils;








public class QueryCardAction
  extends ExtBaseQueryCardAction
{
  public IBill[] queryBill(String[] ids) throws BusinessException {
    IApsettleMaintainPageApp service = (IApsettleMaintainPageApp)ServiceLocator.find(IApsettleMaintainPageApp.class);
    return service.queryM4808App(ids);
  }








  
  public void processPrecision(ExtBillCard retCard) {
    CarrierTransUtils.translateForm(retCard.getHead());
    ApSettleScaleUtils scaleUtils = new ApSettleScaleUtils();
    scaleUtils.processBillCard(retCard);
  }
}